package imnu.th01;

/**
 * @author: lys
 * @类名: Thread
 * @Title:
 * @date: 2020/7/21
 **/
public class Thread02 extends Thread {
    public Thread02() {
    }

    public Thread02(String name) {
        super(name);
    }
    @Override
    public void run() {
        for (int i=0;i<=10;i++){
            System.out.println(i+"白龙");
            try {
                Thread.sleep(300);
            }catch (Exception e){
                e.printStackTrace();
            }
        }
    }
}
